using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Socialite
{
	/// <summary>
	/// Cell showing the number of checkins on the details page
	/// for a club.
	/// </summary>
	public partial class PlaceDetailsCheckinCell  : UITableViewCell
	{
		public PlaceDetailsCheckinCell() : base()
		{
		}
		
		public PlaceDetailsCheckinCell(IntPtr handle) : base(handle)
		{
		}
		
		public void BindDataToCell (Place place)
		{
			CheckinBar.Progress =  (float)(place.FemaleMaleRatio * 100);
			//CheckinBar.Style = UIProgressViewStyle.Default;
			
			CheckinsLabel.Text = place.CheckedIn + " Check-ins";
		}
	}
}